import { _decorator, CCString, Component, Node, Vec2 } from 'cc';
import { SerializableMap } from 'db://assets/component/SerializableMap';
const { ccclass, property } = _decorator;

@ccclass('MapTest')
export class MapTest extends Component {
    
    @property(SerializableMap<string, Vec2>)
    smap: SerializableMap<string, Vec2> = new SerializableMap<
        string,
        Vec2
    >();
    start() {}

    update(deltaTime: number) {}
}
